Re: [HACKERS] Re: [GENERAL] Postgres INSERTs much slower than MySQL?

Поиск
Список
Период
Сортировка
От Herouth Maoz
Тема Re: [HACKERS] Re: [GENERAL] Postgres INSERTs much slower than MySQL?
Дата
Msg-id l03130302b43ce49ae1ea@[147.233.159.109]
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [GENERAL] Postgres INSERTs much slower than MySQL?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
At 17:08 +0200 on 22/10/1999, Tom Lane wrote:


> In the meantime, the conventional wisdom is still that you should use
> COPY, if possible, for bulk data loading.  (If you need default values
> inserted in some columns then this won't do...)

Yes it would - in two steps. COPY to a temp table that only has the
non-default columns. Then INSERT ... SELECT ... from that temp table to
your "real" table.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma



В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] Windows Server?
Следующее
От: big.john@bigfoot.com
Дата:
Сообщение: create index on numeric